﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>工时管理系统</title>
    <style type="text/css">
         body{background:#ffffff ;}
        .WP_1{margin-top:25px;}
        .WP_2{height:54px; line-height:54px; background:url(/WorkTimePrj/Content/Img/banner4_03.jpg) no-repeat;color:#ffffff;padding-left:10px;font-family:simsun;}
        .WP_3{width:99%; margin:10px auto;}
        .Link{font-size:10pt;color:#696969;font-family:simsun; text-decoration:none;display:block;float:left; margin-right:15px;border-bottom:solid 1px #696969;*/}
        a.Link:hover{color:#0000ff;}
        .Footer{font-family:simsun;font-size:12px;position:absolute;text-align:center;width:100%;color:#696969;}
     </style>
    <script src="@Url.Content("~/Scripts/jquery-1.7.min.js")" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            SetObjPos()
            $(window).resize(function () {
                SetObjPos();
            });

        });
        function SetObjPos() {
            var height = $(window).height();
            var footer_height = $('.Footer').height();
            var top = height - footer_height - 15;
            $('.Footer').css({ 'left': '0', 'top': top });
        }
    </script>
</head>
<body>
    <div class="WP_3">
        <div class="WP_2">
        </div>
        <div class="WP_1">
            @Html.ActionLink("工时录入", "Index", "Item", null, new { @class = "Link", target = "_blank" })
            @if (((String)ViewBag.roles).IndexOf("ProjMgmt") != -1)
            {
                @Html.ActionLink("项目管理", "Index", "Project", null, new { @class = "Link", target = "_blank" })
            }
            @if (((String)ViewBag.roles).IndexOf("PM") != -1 || ((String)ViewBag.roles).IndexOf("ProjMgmt") != -1)
            {
                @Html.ActionLink("工时确认", "Index", "PM", null, new { @class = "Link", target = "_blank" })
            }
            @if (((String)ViewBag.roles).IndexOf("PM") != -1 || ((String)ViewBag.roles).IndexOf("ProjMgmt") != -1)
            {
                @Html.ActionLink("工时超期确认", "List", "PM", null, new { @class = "Link", target = "_blank" })
            }
            @if (((String)ViewBag.roles).IndexOf("ProjMgmt") != -1)
            {
                @Html.ActionLink("用户工作量统计", "Index", "Admin", null, new { @class = "Link", target = "_blank" })
            }
            @if (((String)ViewBag.roles).IndexOf("ProjMgmt") != -1)
            {
                @Html.ActionLink("项目工作量统计", "List", "Admin", null, new { @class = "Link", target = "_blank" })
            }
            @if (((String)ViewBag.roles).IndexOf("ProjMgmt") != -1)
            {
                @Html.ActionLink("工时更正", "List", "Item", null, new { @class = "Link", target = "_blank" })
            }
            @if (((String)ViewBag.roles).IndexOf("ProjMgmt") != -1)
            {                                                                                       
                @Html.ActionLink("休假，加班管理", "VOTList", "Admin", null, new { @class = "Link", target = "_blank" })
            }
            @if (((String)ViewBag.roles).IndexOf("ProjMgmt") != -1)
            {                                                                                       
                @Html.ActionLink("用户工时休假统计", "WorkVOT", "Admin", null, new { @class = "Link", target = "_blank" })
            }
            @if (((String)ViewBag.roles).IndexOf("ProjMgmt") != -1)
            {                                                                                              
                @Html.ActionLink("邮件通知", "Email", "Admin", null, new { @class = "Link", target = "_blank" })
            }
        </div>
        <div class="Footer">
            版权所有©上海微创软件事业解决方案部 2012
        </div>
    </div>
</body>
</html>
